package com.speedchina.doormanager.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.util.Date;

@TableName("dt_assignment")
public class Task extends SuperEntity<Task> {


    @TableField("taskName")
    private String taskName;

    /**
     * 任务名
     */
    @TableField("assignName")
    private String assignName;

    /**
     * 班组名
     */
    @TableField("groupName")
    private String groupName;

    /**
     * 任务类型
     */
    @TableField("taskType")
    private String taskType;


    /**
     * 任务状态
     */
    @TableField("status")
    private String status;

    /**
     * 预计时间
     */
    @TableField("yuji_time")
    private Date yujiTime;

    /**
     * 实际时间
     */
    @TableField("shiji_time")
    private Date shijiTime;

    @TableField("add_time")
    private Date addTime;


    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getAssignName() {
        return assignName;
    }

    public void setAssignName(String assignName) {
        this.assignName = assignName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getYujiTime() {
        return yujiTime;
    }

    public void setYujiTime(Date yujiTime) {
        this.yujiTime = yujiTime;
    }

    public Date getShijiTime() {
        return shijiTime;
    }

    public void setShijiTime(Date shijiTime) {
        this.shijiTime = shijiTime;
    }

    @Override
    public String toString() {
        return "Task{" +
                "assignName='" + assignName + '\'' +
                ", groupName='" + groupName + '\'' +
                ", taskType='" + taskType + '\'' +
                ", status='" + status + '\'' +
                ", yujiTime=" + yujiTime +
                ", shijiTime=" + shijiTime +
                '}';
    }
}
